package com.dt76.smallloanfrontenduser.remote.xiaohao;


import com.dt76.smallloanfrontenduser.hystrix.xiaohao.LoanProductHystrix;
import com.dt76.smallloanfrontenduser.pojo.xiaohao.HLoanProducts;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@FeignClient(name = "smallloan-Frontend-Service", fallback = LoanProductHystrix.class)
public interface LoanProductRemote {

    @RequestMapping(value = "/xiaohao/HLoanProducts/qryAllLoanProducts")
    List<HLoanProducts> qryAllLoanProducts();
}
